xml = S($input)
$attributes = xml.attrs($namespace)
$names = xml.attrNames($namespace)
